﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartSpace.Core;
using WorkSpace.Core;

namespace WorkSpace.Core
{
    public class WorkSpaceFactory : ICoreFactory, IWorkSpaceFactory
    {
        private string _connectionString;

        public WorkSpaceFactory()
        {
        }

        WorkSpaceContext IWorkSpaceFactory.Get()
        {
            return new WorkSpaceContext(new WorkSpaceDbContext());
        }

        CoreContext ICoreFactory.Get()
        {
            return new CoreContext(new WorkSpaceDbContext());
        }
    }
}
